import request from '@/utils/request'

export function listSheet(query) {
  return request({
    url: '/prod-api/customerService/sheet/listSheet',
    method: 'get',
    params: query
  })
}

export function getSheet(storeUid) {
  return request({
    url: '/prod-api/customerService/sheet/getSheet/' + storeUid,
    method: 'get'
  })
}

export function addOrEdit(data) {
    return request({
      url: '/prod-api/customerService/sheet/addOrEdit',
      method: 'post',
      data: data
    })
  }